CPSW\Gateway\Stripe\Card_Payments C

Total Complexity 119
Dependencies 9
Dependents 1
Total lines 832
Lines of code 560
Logical lines of code 259
Comment lines 185
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
get_icon()
A
48 16 26
add_payment_method()
A
44 15 40
process_payment_with_saved_payment_method()
A
36 12 82
payment_fields()
A
43 10 48
verify_intent()
A
48 11 26
process_payment()
A
42 7 52
prepare_order_source()
S
51 7 26
get_token_from_request()
S
58 7 15
init_form_fields()
S
36 1 99
modify_successful_payment_result()
S
52 4 26
cpsw_payment_complete_order_status()
S
64 5 9
process_order()
S
56 3 16
enable_saved_cards()
S
76 4 3
__construct()
S
52 2 21
save_payment_method_to_order()
S
64 3 10
is_using_saved_payment_method()
S
72 3 4
should_save_card()
S
71 2 5
is_product()
S
79 2 3
prepare_payment_method()
S
61 1 13
create_payment_token_for_user()
S
62 1 12
init_supports()
S
64 1 12
clean_statement_descriptor()
S
64 1 8
create_payment_for_saved_payment_method()
S
75 1 4